﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Services.Protocols;

namespace WebService1
{
    public class MySoapHeader : SoapHeader
    {
        public MySoapHeader()
        {
            //          //TODO: 在此处添加构造函数逻辑          //     
        }
        public string UserName;
        public string PassWord;
        public bool ValideUser(string in_UserName, string in_PassWord)
        {

            if ((in_UserName == "lee") && (in_PassWord == "cmu4hlee1008"))



                return true;
            else
                return false;


        }


    }
}